const db = require("./db");

const staffSchema = new db.mongoose.Schema({
    "username":{type:String},
    "password":{type:String},
    "sex":{type:String},
    "salary":{type:Number},
   
})
// 我们的数据库锁死名字叫staffs 
module.exports = db.mongoose.model("staffs", staffSchema);
